package org.lb.MarketingSystem.dao;

import java.util.List;

import org.lb.MarketingSystem.entity.Product;
import org.lb.MarketingSystem.entity.ProductType;
import org.springframework.stereotype.Component;

@Component(value="productTypeMapperDao")
public interface ProductTypeMapperDao {
	//产品类型
	public boolean selectProductType(Product product);
	public boolean deleteProductType(String productTypeId);
	public boolean select_allProduct();
	public boolean insertPruductType(ProductType productType);
	public String selectProductType(String ProductId);
	
	public List<ProductType> selectallProductType();
	public ProductType selectProductTypeIDByTypeName(String typeName);
}
